
:link { color: #387543; text-decoration: none; }

:visited { color: #387543; text-decoration: none; }

:link:hover,
:visited:hover { color: #8db819; text-decoration: none; }

/*Настройка заголовков*/
h1 { font-size: 160%; font-weight: normal; }
h2 { font-size: 1.2em; line-height: 139%; font-weight: bold;}
h3 { font-size: 1.1em; line-height: 139%; font-family: Arial, Helvetica, sans-serif; font-weight: bold; margin: 0;}
h4 { font-size: 1.1em; }
h5 { font-size: 1.0em; font-weight: normal; text-align: center;}
h6 { font-size: 1.3em; font-weight: bold; }

h1, h4, h5, h6 {
    font-family: Tahoma, Verdana, Helvetica, sans-serif;
    margin: 0.5em 0 0.2em 0;
	line-height: 139%;
}

body, td, div {
	color: #6d6a65;
	font-size: 11px;
	font-family: Tahoma, Verdana, Helvetica, sans-serif;
	line-height: 139%;
	}

body {
	height: 100%; 
	padding: 0; margin: 0;
	background: #FFFFFF;
	text-align: center;
	vertical-align: top;
}

#page_bg { background: #fffcf8 url(../images/night/body_bg.jpg) left top repeat-x;}
#pbg1 { background: url(../images/night/page_bg1.png) 8% 19px no-repeat; }
#pbg2 { background: url(../images/night/page_bg2.png) 15% 48px no-repeat; }
#pbg3 { background: url(../images/night/page_bg3.png) 24% 38px no-repeat; }
#pbg4 { background: url(../images/night/page_bg4.png) 20% 15px no-repeat; }

p { margin: 3px 0; }
a img { border: 0; }
html { height: 100%; margin: 0; padding: 0; }
form { padding: 0; margin: 0;}
.clr {clear:both;}

/*UL, LI*/
ul {
	margin: 1px 0;
	padding: 0 0 0 1px;
    }

ul li {
	margin: 1px 0; padding: 0px 0 0px 17px;
	list-style-type: none;

    }

li {
	margin: 1px 0; padding: 0px 0 0px 17px;
	list-style-type: none;

    }



/*Линия стили для HR*/
hr	{ 
	height: 1px;
	border: solid #d8d8d8 0px;
	border-top-width: 1px;
}

/*Формы*/
input, textarea, select {
	color: #777;
	font-size: 1em;
	font-family: Tahoma, Verdana, Helvetica, sans-serif;
}

/*===== ОБЩЕЕ ОФОРМЛЕНИЕ =====*/
/*WRAPPERS*/
.wrapper {
	margin: auto;
	width: 998px;
	padding-bottom: 5px;
	text-align: left;
}

/*dleft, dright*/
.dleft, .dright { background-position: left; background-repeat: repeat-y; background-color: transparent; }
.dright { background-position: right; }

/*TOPHEAD*/
#tophead {
	height: 69px;
	position: relative;
	background: transparent url(../images/night/tollbar_sun.png) left top no-repeat;
}

/*TOOLBAR*/
.toolbar {
	width: 317px; height: 62px;
	position: relative;
	float: right;
	background: #FFFFFF url(../images/night/toolbar_bg.png) left top no-repeat;
}

/*SEARCHFORM*/
div.searchform {
	position: relative;
	width: 307px;
	float: left;
	padding: 6px 0 0 10px;
}

div.searchform input {
	float: left;
	width: 232px;
	padding: 3px;
	margin-right: 4px;
	border: 1px solid #d2d2d2;
	background: #FFFFFF url(../images/baseline.png) top repeat-x;
}

div.searchform input[type="submit"].btn {
	float: left;
	width: 53px; height: 22px;
	line-height: 21px;
	color: #fff;
	background: #039816 url(../images/search_btn.png) left top no-repeat;
	text-align: center;
	border: none;
	vertical-align: top;
}

div.searchform input[type="submit"].btn:hover {
	color: #fff;
	background: #70c47b url(../images/search_btn.png) left -22px no-repeat;
}

/*HEADER*/
#header, #header .dleft, #header .dright { height: 90px; position: relative; }

#header {
	background: #FFF url(../images/night/header_bg.png) top repeat-x;
}

#header .dleft {
	background-image: url(../images/night/header_left.png);
}

#header .dright {
	background-image: url(../images/night/header_right.png);
	padding-right: 17px;
}

/*Other*/
#logotype {
	position: absolute;
	width: 450px; height: 111px;
	top: -21px;
	left: 0;
	outline: none;
	background-position: right bottom; background-repeat: no-repeat; background-color: transparent;
}

#logotype img {
	display: block;
}

.register {
	position: absolute;
	top: 38px;
	right: 10px;
}

.register img { display: none; }
.register, .register a:link, .register a:visited { color: #fff; }
.register a:hover { color: #fff; text-decoration: underline; }

#banner {
	position: relative;
	margin-top: 17px;
	float: right;
	width: 468px; height: 60px;
}

/*SHADOWS*/
.s-left, .s-right, .s-top, .s-bottom { width: 100%; float: left; }

.s-left { background: #FFFFFF url(../images/night/shadow_left.png) left top repeat-y; }
.s-right { background: url(../images/night/shadow_right.png) right top repeat-y; }

.s-top { background: url(../images/shadow_top.png) left top no-repeat; }
.s-bottom { background: url(../images/shadow_bottom.png) left bottom no-repeat; }

#container {
	float: left;
	width: 967px;
	padding-left: 12px;
}

/* IE hack */
* html #container {width: 979px;}
/* END IE hack */

/*FOOTER*/
#footer, #footer .dleft, #footer .dright { height: 83px; }

#footer {
	position: relative;
	background: #FFF url(../images/night/footer_bg.png) top repeat-x;
}

#footer .dleft {
	background-image: url(../images/night/footer_left.png);
	padding-left: 19px;
}

#footer .dright {
	background-image: url(../images/night/footer_right.png);
	padding-right: 204px;
}

/*COPYRIGHT*/
.copyright {
	position: relative;
	float: left;
	color: #939393;
	display: inline;
	padding-top: 10px;
}

.copyright a:link, .copyright a:visited {
	color: #939393;
}

.copyright a:hover {
	color: #454545;
}

/*COUNTS*/
div.count {
	position: relative;
	float: right;
	display: inline;
	padding-top: 11px;
	width: 360px;
}

div.count span {
	display: block;
	float: left;
	width: 88px; height: 31px;
	margin-right: 2px;
}

.navi {
	background: url(../images/navibar_bg.png) left bottom no-repeat;
	height: 25px;
	overflow: hidden;
}

.navi a:link, .navi a:visited {
	height: 25px;
	line-height: 14px;
	padding: 0 8px;
	background: url(../images/navi_link.png) center -100px repeat-x;
	display: block;
	float: left;
	color: #828282;
	outline: none;
}

.navi a:hover {
	background: url(../images/navi_link.png) center bottom repeat-x;
	color: #3ca20e;
}